import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import "./plugins/element.js";
// 公共样式
import "./assets/css/global.scss";

// 挂载api
import api from "./api";
Vue.prototype.$api = api;

//引入svg-icon组件
import svgIcon from "@/components/svgIcon.vue";
//全局注册svg-icon
Vue.component("svg-icon", svgIcon);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
